# 新大小杜
# 在读研究生
# 开发时间，2021/4/20 20:25

import os.path
print(os.path.abspath('demo13.py'))
print(os.path.exists('demo13.py'),os.path.exists('demo18.py'))
print(os.path.join('E:\\PycharmProjects','demo13.py'))
print(os.path.split('E:\\PycharmProjects\\chap15\\demo13.py'))
print(os.path.splitext('demo13.py'))
print(os.path.basename('E:\\PycharmProjects\\chap15\\demo13.py'))
print(os.path.dirname('E:\\PycharmProjects\\chap15\\demo13.py'))
print(os.path.isdir('E:\\PycharmProjects\\chap15\\demo13.py'))

